Introduction

TODO

Datasets

Downloaded

The first dataset considered is the Steam Video Games Dataset. This dataset is a list of user behaviors, with columns: user-id, game-title, behavior-name, value. The behaviors included are ‘purchase’ and ‘play’. The value indicates the degree to which the behavior was performed. In the case of ‘purchase’ the value is always 1, and in the case of ‘play’ the value represents the number of hours the user has played the game.

user.id game.title behavior.name value
151603712 The Elder Scrolls V Skyrim purchase 1.0
151603712 The Elder Scrolls V Skyrim play 273.0
151603712 Fallout 4 purchase 1.0
151603712 Fallout 4 play 87.0
151603712 Spore purchase 1.0
151603712 Spore play 14.9

The dataset contains 200k entries relative to over 12k different users and over 5k games. The skewness of the data, equal to 10.74, is evident, with a median of 2 and a mean of 10 game purchases per user. Also the playtime has a high variability between gamers: from users that played for less than 5 minutes, to users with thousands and thousands of hours. The user with the highest number of games has 1552 games with a playtime of 6778 hours. Instead the user that spent the highest number of hours playing spent 11906 hours on 433 different games. Sadly the dataset does not contain the period in which the hours were spent.

Steam games complete dataset is the second dataset used. In this one are listed 40k games, each with a set of information about the genre, the developer, associated tags, description, and others. For the purpose of this assignment we are interested only in a subset of the columns, for example the url to the Steam page is not useful for us. Follows a glimpse of the data.

name release_date genre developer
DOOM May 12, 2016 Action id Software
PLAYERUNKNOWN’S BATTLEGROUNDS Dec 21, 2017 Action,Adventure,Massively Multiplayer PUBG Corporation
BATTLETECH Apr 24, 2018 Action,Adventure,Strategy Harebrained Schemes
DayZ Dec 13, 2018 Action,Adventure,Massively Multiplayer Bohemia Interactive
EVE Online May 6, 2003 Action,Free to Play,Massively Multiplayer,RPG,Strategy CCP
Grand Theft Auto V: Premium Online Edition NaN Action,Adventure Rockstar North

Analyzed

Because I was interested in following the connections between gamers and type of games played I’ve created two sub datasets: users_info.csv is a subset of the first one, while games_info.csv is a subset of the second. They were created joining the initial datasets in a way that, for now on, only games with players will be considered and only player that play games for which we actually have details. Summing up we consider 2k games and 10k users, with over 90k user-game interactions (either “purchase” or “play”). Every users plays at least one of the 2k games and every game has a description and at least one player.

About the users

Type of gamers

Is it possible to differentiate groups of player by theirs behaviors? The majority of people buy a lot of games or stick to a few favorites? The plot below hints some answers at these questions.

The plot animation cycles between the scale of the data and a logarithmic scale, thus giving two different perspectives:

  • in the default scale we can see that the data is clustered near the origin, this means that the users’ majority has bought a small number of games and has played them few hours. Analyzing the data summaries, mean of 3.11 (median 1) games, 98.5 (3.20) hours and 52.8 (0) dollars spent. Also, it seems that there is not a linear relationship between number of games and playtime, meaning that the users tend to buy and play for a small period of time the new games. Worth nothing that the money invested does not seem to be a reason to play, that’s interesting specially given the linearity between the money spent and the number of games.

  • the log-scale gives a better understanding of the 3 cluster (generated with k-means) showing that the red cluster captures people with low budget and low free time, the blue cluster comprehend people above the average but not as extreme gamers as the green cluster. The blue and the green group overlap a bit but together are definitely separated from the red group.

What about the highlited gamers

Inspecting more about the highlighted users, that are the four most extreme users, gives us the following plot.

It’s funny to see that the players with the higher number of hours spent all the time with one game. Note also that both the games are free to play.

The users in the first row had respectively spent a mean of 13 and 11 dollars on each game, playing them with and average of 10 and 7 hours per game. The second user (upper right) bought 212 games, and, excluding the five shown, spent an average of 5.1 hours per game. Note that very few games can be completed in such a few hours.

Follows an interactive plot to better explore the users’ preferences.

About the games

Newer games have more playtime than older games?

TODO aggiungere domande

Giochi usciti recentemente vengono giocati di più?

  • Sia rispetto al valore assoluto (somma totale delle ore)
  • sia tempo medio

Oppure ci sono picchi di giocatori nei tempi sucessivi al rilascio e poi paino piano sfuma? TODO dire che questa è una domanda senza risposta per i dati che abbiamo oppure trovare qualcosa di simile

TODO commentare

Il tempo di gioco rispetto ai generi fa notare qualche cosa? il genere più popolare (persone che gli hanno dato una possibilità/comprato) è anche quello più giocato (comprato ed effettivamente apprezzato molto)?

## [1] "22 generi differenti"

Notare come i Free2Play sono molto presenti e sono anche molto giocati! significa che la gente gioca a quelli un po’ a caso tanto per

Come è variata la presenza dei generi negli anni? (bel grafico animato)

Notare come di F2P negli anni non ne siano usciti moltissimi eppure, assieme agli action, sono quelli giocati di piu’. Ora sarebbe da capire quanti dei F2P sono action e quanti degli indie sono action, o comunque che tipo di correlazioni ci sono tra i generi.

" questo e’ circa text mining sulle stringhe che definiscono i generi" TODO rimuovere discorso dell’ordine

Assumendo che l’ordine dei tag dei generi indichi la maggior appartenenza (“Indie, Action” indica che e’ piu’ indie che action) Notiamo che indie e’ correlato in modo molto forte ad action, quindi questo spiega il fatto che siano entrambi molto diffusi. Mente f2p e’ sganciato da indie, giochi che di solito costano poco perche’ costa poco farli e quindi non vengono messi a gratis Proprio marketing differenti TODO aggiustare commento in realzione all’ordinamento dei generi

Qui ogni arco rappresenta la frequenza con cui la coppia compare nel genere di un gioco diviso la somma delle frequenze dei generi. Se rilassiamo l’assunzione riguardo all’ordine dei generi possiamo notare che si formano due cluster Il primo e’ foramto da software di utility mentre il secondo da i veri e propri giochi. Zoomando sul cluster relativo ai giochi

TODO commento vediamo che il legame tra ftp e mmo e’ molto forte zoomando ancora

TODO Commentare grafico

About user-games interactions

TODO add comment add numerical summaries for centrality

TODO accennare ai recsys!